package com.tongguan.paypos.entity;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Joylive on 2016/12/20 .
 */

public class SettleResult {


    /**
     * message : 批量结算成功
     * allOrder : []
     * status : 100
     * lastTime : 2016-11-30 16:35:17
     * thisTime : 2016-12-20 14:38:04
     * totalList : []
     */

    private String message;
    private int status;
    private String lastTime;
    private String thisTime;
    private List<SettleOrder> allOrder;
    private List<SettleTotal> totalList;

    public static SettleResult objectFromData(String str) {

        return new Gson().fromJson(str, SettleResult.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public String getThisTime() {
        return thisTime;
    }

    public void setThisTime(String thisTime) {
        this.thisTime = thisTime;
    }

    public List<SettleOrder> getAllOrder() {
        return allOrder;
    }

    public void setAllOrder(List<SettleOrder> allOrder) {
        this.allOrder = allOrder;
    }

    public List<SettleTotal> getTotalList() {
        return totalList;
    }

    public void setTotalList(List<SettleTotal> totalList) {
        this.totalList = totalList;
    }
}
